
using Core.Toolkit.Core.Entitys;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Entitys
{

    public class CBS_BreakRules : Entity
    {
        /// <summary>
        /// 承包商名录ID
        /// </summary>
        public Guid? CBSListId { get; set; }
        /// <summary>
        /// 违规日期
        /// </summary>
        public DateTime? ViolationDate { get; set; }
        /// <summary>
        /// 违规情况说明
        /// </summary>
        public String ViolationInstructions { get; set; }
        /// <summary>
        /// 违规人ID
        /// </summary>
        public Guid? ViolatorsID { get; set; }
        /// <summary>
        /// 违规条款
        /// </summary>
        public String ViolationClause { get; set; }
        /// <summary>
        /// 发现人ID
        /// </summary>
        public Guid? DiscoveringPeopleID { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public String Remarks { get; set; }
        /// <summary>
        /// 处理意见
        /// </summary>
        public String ProcessingOpinion { get; set; }
        /// <summary>
        /// 处理结果
        /// </summary>
        public String ProcessingResult { get; set; }
        /// <summary>
        /// 审批结果
        /// </summary>
        public String ExamineState { get; set; }
        /// <summary>
        /// 审批用户
        /// </summary>
        public Guid? ExamineUser { get; set; }
        /// <summary>
        /// 承包商违章签字
        /// </summary>
        public Guid? ContractorQZ { get; set; }

        /// <summary>
        /// 是否黑名单
        /// </summary>
        public String IsBackList { get; set; }

        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 添加部门
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 更改部门
        /// </summary>
        public Guid? UpdateDept { get; set; }

        /// <summary>
        /// 区域ID
        /// </summary>
        public Guid? AreaID { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string State { get; set; }

        public CBS_List CBS_List { get; set; }

        public CBS_User CBS_User { get; set; }

        public SysArea SysArea { get; set; }
        /// <summary>
        /// 关系
        /// </summary>
        public ICollection<CBS_BreakRulesAttachment> CBS_BreakRulesAttachment { get; set; }

        public ICollection<CBS_BreakRulesApprove> CBS_BreakRulesApprove { get; set; }
    }
}
